import Game from '@/views/game.vue'
import Index from '@/views/index.vue'
import Score from '@/views/score.vue'
import { createRouter, createWebHistory } from 'vue-router'


const router = createRouter({
  history: createWebHistory(import.meta.env.BASE_URL),
  routes: 
  [
    {
      path: '/',
      name: 'index',
      component: Index
    },
    {
      path: '/game',
      name: 'game',
      component: Game
    },
    {
      path: '/score',
      name: 'score',
      component: Score
    },
  ],
})

export default router
